<template>
    <aConfigProvider :locale="zhCN">
        <FullErrorPage v-if="$store.state.error.message" />
        <FullLoadingPage v-else-if="$store.state.requesting" />
        <router-view />
    </aConfigProvider>
</template>
<script lang="ts" setup>
import { reactive } from "@vue/reactivity";
import zhCN from "ant-design-vue/es/locale/zh_CN";
import FullLoadingPage from "@/components/FullLoadingPage.vue";
import FullErrorPage from "@/components/FullErrorPage.vue";
import dayjs from "dayjs";
import "dayjs/locale/zh-cn";
dayjs.locale("zh-cn");
</script>
<style lang="scss"></style>
